<?php
    session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生信息管理系统</title>
</head>
<body>
    <?php
        include_once "HeaderNav.html";  //引入头部
    ?>
    <img src="Images/main.jpg" style="margin-top: 80px;" />
    <p><?php if(isset($_SESSION['username'])) echo $_SESSION['username'] ?> 欢迎访问学生信息管理系统！</p>
    <p><?php if(isset($_SESSION['username'])) echo "<a href='Logout.php'>注销</a>" ?></p>
    <?php
        include_once "Footer.html";  //引入脚部
    ?>
</body>
</html>